package ooday0004;

import OODAY04.FISH;

public class Fish extends Animal implements SWIM{
    Fish(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println(name+"在吃虾米"+"他"+age+"岁了"+color+"色的");
    }
    public void swim(){
        System.out.println(name+"在游泳");
    }
}
